package cn.wyl.user.mapper;

import cn.wyl.system.domain.Menu;
import cn.wyl.user.domain.Logininfo;
import cn.wyl.basic.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wyl
 * @since 2022-07-26
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo loadByAccount(Logininfo logininfo1);
    Logininfo loadbyUserId(Long user_id);

    List<String> loadPermissionsByLogininfoId(Long id);

    List<Menu> loadMenusByLogininfoId(Long id);
}
